import Home from '../pages/HomePage'
import List from '../pages/ListPage'
import Detail from '../pages/DetailPage'
const routes = [
    {
        from: "/",
        to: "/home"
    },
    {
        path: "/home",
        com: Home
    },
    {
        path: "/list",
        com: List
    },
    {
        path: "/detail/:id",
        com: Detail
    }
]

export default routes;